import React,{FC} from "react";
import {useParams} from 'react-router-dom'  //第三方hook组件获得动态id
const Edit:FC=()=>{
    const {id=''}=useParams()
    return <p>Edit{id}</p>
}
export default Edit